<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>H+ 后台主题UI框架 - 单据打印</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="white-bg">
    <div class="wrapper wrapper-content p-xl">
        <div class="ibox-content p-xl">

        </div>

    </div>

    <!-- 分页 -->
    <div  style="page-break-before:always;"><br /></div>

    <div class="wrapper wrapper-content p-xl">
        <div class="ibox-content p-xl">

        </div>

    </div>

    <div  style="page-break-before:always;"><br /></div>

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>

    <script type="text/javascript">
//        window.print();
        $(document).ready(function () {
            var data = {masterIds:[],archiveId:${}};

            $.ajax({
                type: "post",
                url: "${path}/api/household/print",
                data: data,
                dataType: "json",
                traditional: true,
                success: function (result) {
                    if (result.code == "${result_success}") {
                        var data = result.data.content;

                        $(data).each(function () {
                            addAd2List(this);
                        });

                    }else {
                        layer.msg("操作失败！", {time: 1000});
                    }
                },
            });

        });
    </script>

</body>

</html>
